package com.gxgeek.product.repository;

import com.gxgeek.product.dataobject.ProductInfo;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by Administrator on 2017/7/11.
 */
public interface ProductInfoRepository extends JpaRepository<ProductInfo,String> {
    //查询上架商品
    List<ProductInfo> findByProductStatus(Integer status);

    List<ProductInfo> findByProductIdIn(List<String> prodyctIdList);

}
